/*
 * @Author: your name
 * @Date: 2020-05-29 16:40:02
 * @LastEditTime: 2020-06-10 17:06:06
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: \v-nw-h5\src\store\modules\logic\wx\share\mutations.js
 */
export default {
    // 微信分享api存储的参数
    getmediaId (state, val) {
        if (window.location.href.indexOf('/store/goods') > -1 && window.sessionStorage.getItem('isBigger')) {
            window.sessionStorage.setItem('mediaId', val)
        }
        state.mediaId = val
    },
}